package service;

import dao.goodsMapper;
import dao.userMapper;
import entity.user;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class SelectSupplierByIdService {
    @Autowired
    private dao.userMapper userMapper;

    public user selectSupplierById(int id) {
        return userMapper.selectByPrimaryKey(id);
    }
}
